package com.feigndemo.api;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.feigndemo.pojo.FeignDemoVO;

@RequestMapping("/feign")
public interface FeignDemoService {

	/**
	 * 根据批价包ID及关键字搜索资源
	 * @param key	关键字
	 * @param packId	批价包ID
	 * @param pn	pageNum
	 * @param ps	pageSize
	 * @return
	 */
	@RequestMapping(value="/helloFeign",method= RequestMethod.GET)
	public FeignDemoVO helloFeign(@RequestParam("id")String id);
}
